<template>
  <div style="height: 90vh;">
    <iframe :src="urlString" width="100%" height="100%"></iframe>
  </div>
</template>

<script>
  import {getTenantId} from "@/utils/tenantId";

  export default {
    name: "ResourceOverview",
    data() {
      return {
        urlString: "",
      }
    },
    methods: {
      getUrlString() {
        this.$appManageApi.getTenantDashboard(getTenantId()).then((response) => {
          console.log(response);
          this.urlString = response.data;
        }).catch((error) => {
          console.error(error);
        });
      }
    },
    mounted() {
      this.getUrlString();
    }
  }
</script>

<style scoped>

</style>
